﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccessLayer;
using Entities;

namespace BusinessLogicLayer
{
    public class ChiTietBaoCaoTonBO
    {
        private ChiTietBaoCaoTonDAL dal;
        public ChiTietBaoCaoTonBO()
        {
            try
            {
                dal = new ChiTietBaoCaoTonDAL();
            }
            catch (Exception e)
            {
                throw new BusinessLogicException();
            }
        }
        public int InsertChiTietBaoCaoTon(ChiTietBaoCaoTon ctbct)
        {
            int kq = 0;
            try
            {
                kq = dal.InsertChiTietBaoCaoTon(ctbct);
            }
            catch (Exception)
            {
                return kq;
                throw;
            }
            return kq;
        }
    }
}
